package com.foreverwin.mes.lims.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author Levy
 * @since 2020-02-17
 */
public class InspecArray extends Model<InspecArray> {

    private static final long serialVersionUID = 1L;

   @TableId(value = "HANDLE", type = IdType.INPUT)
   private String handle;
   @TableField("SITE")
   private String site;
   @TableField("CHECK_ARRAY")
   private String checkArray;
   @TableField("ARRAY_DESC")
   private String arrayDesc;
   @TableField("CREATED_DATE_TIME")
   private Date createdDateTime;
   @TableField("CREATED_USER")
   private String createdUser;
   @TableField("UPDATED_DATE_TIME")
   private Date updatedDateTime;
   @TableField("UPDATED_USER")
   private String updatedUser;


   public String getHandle() {
      return handle;
   }

   public void setHandle(String handle) {
      this.handle = handle;
   }

   public String getSite() {
      return site;
   }

   public void setSite(String site) {
      this.site = site;
   }

   public String getCheckArray() {
      return checkArray;
   }

   public void setCheckArray(String checkArray) {
      this.checkArray = checkArray;
   }

   public String getArrayDesc() {
      return arrayDesc;
   }

   public void setArrayDesc(String arrayDesc) {
      this.arrayDesc = arrayDesc;
   }

   public Date getCreatedDateTime() {
      return createdDateTime;
   }

   public void setCreatedDateTime(Date createdDateTime) {
      this.createdDateTime = createdDateTime;
   }

   public String getCreatedUser() {
      return createdUser;
   }

   public void setCreatedUser(String createdUser) {
      this.createdUser = createdUser;
   }

   public Date getUpdatedDateTime() {
      return updatedDateTime;
   }

   public void setUpdatedDateTime(Date updatedDateTime) {
      this.updatedDateTime = updatedDateTime;
   }

   public String getUpdatedUser() {
      return updatedUser;
   }

   public void setUpdatedUser(String updatedUser) {
      this.updatedUser = updatedUser;
   }

   public static final String HANDLE = "HANDLE";

   public static final String SITE = "SITE";

   public static final String CHECK_ARRAY = "CHECK_ARRAY";

   public static final String ARRAY_DESC = "ARRAY_DESC";

   public static final String CREATED_DATE_TIME = "CREATED_DATE_TIME";

   public static final String CREATED_USER = "CREATED_USER";

   public static final String UPDATED_DATE_TIME = "UPDATED_DATE_TIME";

   public static final String UPDATED_USER = "UPDATED_USER";

   @Override
   protected Serializable pkVal() {
      return this.handle;
   }

   @Override
   public String toString() {
      return "InspecArray{" +
         "handle = " + handle +
         ", site = " + site +
         ", checkArray = " + checkArray +
         ", arrayDesc = " + arrayDesc +
         ", createdDateTime = " + createdDateTime +
         ", createdUser = " + createdUser +
         ", updatedDateTime = " + updatedDateTime +
         ", updatedUser = " + updatedUser +
         "}";
   }
}